package com.cppe.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;


public class Video {
    @SerializedName("retCode")
    public String retCode;
    @SerializedName("retMessage")
    public String retMessage;
    @SerializedName("data")
    public DataDTO data;

    public static class DataDTO {
        @SerializedName("id")
        public int id;
        @SerializedName("coding")
        public String coding;
        @SerializedName("name")
        public String name;
        @SerializedName("parentId")
        public int parentId;
        @SerializedName("children")
        public List<ChildrenDTOX> children;

        public static class ChildrenDTOX {
            @SerializedName("id")
            public int id;
            @SerializedName("coding")
            public Object coding;
            @SerializedName("name")
            public String name;
            @SerializedName("parentId")
            public int parentId;
            @SerializedName("children")
            public List<ChildrenDTO> children;

            public static class ChildrenDTO {
                @SerializedName("id")
                public int id;
                @SerializedName("deptId")
                public int deptId;
                @SerializedName("channel")
                public String channel;
                @SerializedName("name")
                public String name;
                @SerializedName("url")
                public String url;
                @SerializedName("cameraType")
                public String cameraType;
            }
        }
    }
}
